import Request from '@/utils/request-util';

/**
 * 电流统计api
 *
 * @author cancan
 * @date 2025/01/27 16:25
 */
export class DeviceSlurryScraperSamplingCurrentApi {
  static findPage(params) {
    return Request.getAndLoadData('/deviceSlurryScraperSamplingCurrent/page', params);
  }
  /**
   * 新增
   *
   * @author cancan
   * @date 2025/01/27 16:25
   */
  static add(params) {
    return Request.post('/deviceSlurryScraperSamplingCurrent/add', params);
  }

  /**
   * 修改
   *
   * @author cancan
   * @date 2025/01/27 16:25
   */
  static edit(params) {
    return Request.post('/deviceSlurryScraperSamplingCurrent/edit', params);
  }

  /**
   * 删除
   *
   * @author cancan
   * @date 2025/01/27 16:25
   */
  static delete(params) {
    return Request.post('/deviceSlurryScraperSamplingCurrent/delete', params);
  }

  /**
   * 详情
   *
   * @author cancan
   * @date 2025/01/27 16:25
   */
  static detail(params) {
    return Request.getAndLoadData('/deviceSlurryScraperSamplingCurrent/detail', params);
  }
}
